<?php
class FacebookService {
	private $_facebook;
	
	public function __construct() {
		require_once APPLICATION_PATH . '/library/facebook/facebook_platform/php/facebook.php';
		$config = require_once APPLICATION_PATH . '/library/facebook/config.php';
		$this->_facebook = new Facebook($config['appId'], $config['secret']);
	}
	
	public function getFacebook(){
		return $this->_facebook;
	}

}